package com.spleeb.pixelengine;


public class Sprite extends Satrix implements ScreenObject {
	public ModelData model;
	public Sprite(ModelData model){
		this.model = model;
	}
	public Sprite(ModelData model,Satrix satrix){
		this.model = model;
		copy(satrix);
	}
	public void Draw(Screen screen,Satrix satrix) {
		Satrix sat = clone();
		sat.merge(satrix);
		model.Draw(screen,sat);
	}

}
